package org.bt.common.validator.number;


import java.math.BigDecimal;

/**
 * MaxValidatorForBigDecimal
 * <p>
 * Created on 2020/1/9
 *
 * @author tongw
 */
public class MaxValidatorForBigDecimal extends AbstractMaxValidator<BigDecimal> {

    @Override
    protected int compare(BigDecimal number) {
        return NumberComparatorHelper.compare(number, maxValue);
    }
}
